-- GENERATED SPELL FOR [Dredge Striker] --


function spell0_11740(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(22911,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11740', 2284, 1)
end

function Sorts_11740(pUnit, Event)
local choix_sorts_11740 = math.random(0, 0)
if choix_sorts_11740 == 0 then
pUnit:RegisterEvent('spell0_11740', 1, 1)
end
end

function mob11740_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11740', math.random(1500, 3000), 1)
end

function mob11740_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11740_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11740_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11740, 1, 'mob11740_Action')
RegisterUnitEvent(11740, 2, 'mob11740_Leave')
RegisterUnitEvent(11740, 3, 'mob11740_Kill')
RegisterUnitEvent(11740, 4, 'mob11740_Die')
